package com.unittec.drainage.sdk.auth.request;

import java.io.Serializable;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @description 获取验证码请求实体
 * @author chengjie
 * @date 2019/10/16
 */
@Data
public class Req101702 implements Serializable {

    private static final long serialVersionUID = 1L;

    @Pattern(message = "手机号格式不正确", regexp = "^[1][3,4,5,7,8][0-9]{9}$")
    @NotNull(message = "手机号不能为空")
    @ApiModelProperty(value = "手机号")
    private String phone;

}
